
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>

</head>
<body>

<script>
	<!-- 财务管理必填项提示
	function CheckInput()
	{
		if (1=="1"){if(document.all.eDate.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '收支日期不能为空!'});document.all.eDate.focus();return false;}}
		if (1=="1"){if(document.all.eType.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '收支类别不能为空!'});document.all.eType.focus();return false;}}
		if (1=="1"){if(document.all.eMoney.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '总金额不能为空!'});document.all.eMoney.focus();return false;}}
		if (1=="1"){if(document.all.eContent.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '详情备注不能为空!'});document.all.eContent.focus();return false;}}
		
		if (1=="1"){if(document.all.ejbr.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '经办人不能为空'});document.all.ejbr.focus();return false;}}
		
		if (0=="1"){if(document.all.ezjzh.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '资金账户不能为空'});document.all.ezjzh.focus();return false;}}
		
	}
	-->
	</script>

<!----------------------------------------新增收入/支出记录0开始----------------------------------------> 
<!----------------------------------------新增收入/支出记录0开始---------------------------------------->
<div class="cssout">
  <form class="layui-form" name="save" action="?action=Caiwu&stype=saveadd&LaiLu=" method="post" onSubmit="return CheckInput();">
    <div class="cssin">
      <ul>
        <li class="w100 bg">
          <dd class="isin"><B>新增
            
            收入
            
            记录</B></dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">客户名称</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            sdsdsdd ( 编号 : 9 )
            
            <input name="Chongxuan" type="button" id="Chongxuan" class="btn1 btnchongx" value="重选" onclick='$.dialog.open.origin.Infoadd_Chose();$.dialog.close();'>
            
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">
            
            <font color="#FF0000">*</font>
            收支日期</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            <input name="eDate" type="text" id="eDate" class="Wdate int" size="15" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="2017-12-20" />
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">
            
            <font color="#FF0000">*</font>
            收支类别</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            <select name="eType" id="Select_ExpenseIN"><option value="">请选择</option><option value="订单预付款">订单预付款</option><option value="合同款">合同款</option><option value="维护费">维护费</option><option value="产品续费">产品续费</option><option value="其它">其它</option></select>
             
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">
            
            <font color="#FF0000">*</font>
            总金额</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            <input name="eMoney" type="text" id="eMoney" class="bor int" size="10" value="0" onFocus="if (value =='0'){value =''}"onblur="if (value ==''){value='0'}" />
            元</dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">
            
            资金账户</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            <select name="ezjzh" id="Select_ezjzh"><option value="">请选择</option><option value="默认账户">默认账户</option></select>
           
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin">
            
            <font color="#FF0000">*</font>
            
            经办人</dd>
        </li>
        <li class="w75">
          <dd class="isin">
            <select name='ejbr' class='int' style='border:1px solid #f00;'><option value="">请选择</option><option value="超级管理员" selected>超级管理员</option><option value="测试">测试</option><option value="111">111</option><option value="啊">啊</option><option value="666">666</option><option value="596874656">596874656</option></select>
          </dd>
        </li>
        
        
        
<li class="w25 bg tr ovh"><dd class="isin"> 发票管理</dd></li>
        <li class="w75"><dd class="isin">
        
        
        
  
  <input name="FaPiaoGuanLi" type="text" id="FaPiaoGuanLi" class="bor int" size="30" style="width:px" value="">
  
  
  </dd></li>
        
        
<div class="zidonggaodu fujian">
        <li class="w25 cl bg tr">
          <dd class="isin">
            附件</dd>
        </li>
        <li class="w75">
          <dd class="isin">
          
<span id="fujian1"> </span>
<script>
//定义一个上传
var upName1 = $("#fujian1").powerWebUpload(
{ 
	auto: true,//上传后是否自动上传
	fileNumLimit:10,//允许上传个数
	accept: {
	   title: '上传附件',
	   extensions: 'gif,jpg,png,bmp,doc,docx,xls,xlsx,ppt,pdf,rar,zip,txt',//允许类型 原始：'gif,jpg,jpeg,bmp,png'
	   mimeTypes: '*'//类型 原始：'image/*'
	}//限制的配置信息
});
//绑定上传完成事件 file 参数中有 原始名称 大小 后缀 类型等等参数；percentage是服务返回的参数 有信息 和图片地址
    upName1.on('uploadSuccess', function (file, percentage) {
	$("#fujianlist").val(percentage.data.src);
	
});
</script>
          </dd>
        </li>
        <div class="clear"></div>
</div>
        <li class="w25 bg cl duohang tr">
          <dd class="isin">
            
            <font color="#FF0000">*</font>
            详情备注</dd>
        </li>
        <li class="w75 duohang">
          <dd class="isin">
            <textarea name="eContent" rows="4" id="eContent" class="bor int" style="height:65px;width:98%;"></textarea>
          </dd>
        </li>
        <li class="w25 bg cl tr">
          <dd class="isin"> 所属业务员</dd>
        </li>
        <li class="w75">
          <dd class="isin"> <span class="ssywy">超级管理员</span>
            <input name="eUser" type="hidden" value="超级管理员">
          </dd>
        </li>
        <div class="clear"></div>
      </ul>
    </div>
    <div class="h50b"></div>
    <div class="fixed_bg_B">
      <input name="cID" type="hidden" value="9">
      <input name="eOutIn" type="hidden" value="1" />
      <input type="submit" name="Submit" class="btn2 btnbaoc" value="保存" >
      <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
    
      
    </div>
  </form>
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
